﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>

<html>
<head >
    <meta name="viewport" content="width=device-width" />
    <title>对象资源管理器</title>
    <link href="/Themes/Styles/style.css" rel="stylesheet" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js"></script>
    <script src="/Themes/Scripts/TreeView/jquery.cookie.js"></script>
    <link href="/Themes/Scripts/TreeView/jquery.treeview.css" rel="stylesheet" />
    <script src="/Themes/Scripts/TreeView/jquery.treeview.js"></script>
    <script src="/Themes/Scripts/FunctionJS.js"></script>
    <script>
        $(function () {
            divresize('.div-body', 30);
            treeAttrCss();
            GetClickValue();
        })
        //初始化
        var tableCode, tableRemark = '';
        function GetClickValue() {
            tableRemark = $('.collapsableselected').find('span').attr('tableRemark');
            tableCode = $('.collapsableselected').find('span').html();
            var path = '/DataBase/DataBaseList?tableCode=' + tableCode + '&tableRemark=' + escape(tableRemark);
            window.parent.frames["target_right"].location = path;
            Loading(true);

            $(".strTree li div").click(function () {
                tableRemark = $('.collapsableselected').find('span').attr('tableRemark');
                if (IsNullOrEmpty(tableRemark)) {
                    tableCode = $('.collapsableselected').find('span').html();
                    var path = '/DataBase/DataBaseList?tableCode=' + tableCode + '&tableRemark=' + escape(tableRemark);
                    window.parent.frames["target_right"].location = path;
                    Loading(true);
                }
            });
        }
    </script>
</head>
<body>
    <form id="form1" >
        <div class="btnbartitle">
            <div>
                对象资源管理器
            </div>
        </div>
        <div class="line"></div>
        <div class="div-body">
            <ul class="black strTree">
                <li>
                    <div>
                        <img src='/Themes/images/16/db.png' style='vertical-align: middle;' alt='' />BPMS
                    </div>
                    <ul>
                        <%=ViewData["strHtml"] %>
                    </ul>
                </li>
            </ul>
        </div>
    </form>
</body>
</html>
